<template>
  <div class="home">
    <div @click="login()">登录页面</div>
  </div>
</template>

<script>
// @ is an alias to /src
// import HelloWorld from '@/components/HelloWorld.vue'

export default {
  name: 'Login',
  // components: {
  //   HelloWorld
  // }
  methods:{
    login(){
        this.$router.push('index')
    }
  }
}
</script>
